<?php /*a:3:{s:66:"D:\laragon\www\uavshop\application\manage\view\feedback_index.html";i:1599462686;s:56:"D:\laragon\www\uavshop\application\manage\view\base.html";i:1596192950;s:63:"D:\laragon\www\uavshop\application\manage\view\public_page.html";i:1540951044;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
	<meta name="renderer" content="webkit">
<title>后台管理系统</title>
<link rel="stylesheet" href="/static/public/awesome/css/font-awesome.min.css" />

<link rel="stylesheet" href="/static/public/layui/css/layui.css" />

<link rel="stylesheet" href="/static/public/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="/static/manage/css/style.css" />

	<link rel="stylesheet" href="/static/public/dist/zoomify.min.css">
	
<script src="/static/public/kindeditor/kindeditor-all.js"></script>
<script src="/static/public/kindeditor/lang/zh_CN.js"></script>
<script src="/static/public/ueditor/ueditor.config.js?t=<?php echo time();?>"></script>
<script src="/static/public/ueditor/ueditor.all.min.js"></script>
<script src="/static/public/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<?php if($is_auth): ?>

<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <a href="<?php echo url('index/welcome'); ?>"><i class="icon icon-home"></i>首页</a>
            <span class="icon-angle-right"></span>
            <span>系统</span>
            <span class="icon-angle-right"></span>
            <span>平台管理</span>
            <span class="icon-angle-right"></span>
            <span>用户反馈</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">
<!--            <table class="m-table">-->
<!--                <tr>-->
<!--                    <th>-->
<!--                        <div class="m-options cf">-->
<!--                            <div class="m-opts fl"><a href="<?php echo url('add'); ?>" class="u-btn"><i class="icon-plus"></i>添加公告</a></div>-->
<!--                            &lt;!&ndash;                            <div class="m-search fr">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                <form action="/manage/article/search" class="layui-form">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                    <div class="lay-select">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                        <select name="examine_status">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="">请选择文章审核状态</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="0">待审核</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="1">审核通过</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="2">申请驳回</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                        </select>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                    </div>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                    <div class="lay-select">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                        <select name="status">&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="">请选择文章状态</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="0">上架</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                            <option value="1">下架</option>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                        </select>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                    </div>&ndash;&gt;-->
<!--                            &lt;!&ndash;                                    <input type="submit" class="u-btn u-search" value="查看" />&ndash;&gt;-->
<!--                            &lt;!&ndash;                                </form>&ndash;&gt;-->
<!--                            &lt;!&ndash;                            </div>&ndash;&gt;-->
<!--                    </th>-->
<!--                </tr>-->
<!--            </table>-->
            <form class="layui-form">
                <table class="m-table mt-10">
                    <tbody class="datas">
                    <tr>
                        <th width="5%">ID</th>
                        <th width="10%">用户名</th>
                        <th width="10%">手机号</th>
                        <th width="40%">反馈信息</th>
                        <th width="10%">反馈时间</th>
<!--                        <th width="5%">操作</th>-->
                    </tr>
                    <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): if( count($data)==0 ) : echo "" ;else: foreach($data as $key=>$v): ?>
                    <tr>
                        <td><?php echo htmlentities($v['id']); ?></td>
                        <td><?php echo htmlentities($v['username']); ?></td>
                        <td><?php echo htmlentities($v['phone']); ?></td>
                        <td><?php echo htmlentities($v['evaluate']); ?></td>
                        <td><?php echo htmlentities($v['created_at']); ?></td>
<!--                        <td class="m-opt"><a href="<?php echo url('add', ['id' => $v['id']]); ?>" title="编辑"><i class="icon-pencil"></i></a>-->
<!--                            <a href="javascript:;" title="删除" class="u-del" data-id="<?php echo htmlentities($v['id']); ?>"><i class="icon-trash"></i></a>-->
<!--                        </td>-->
                    </tr>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                    </tbody>
                </table>
            </form>
            <?php if($count): ?>
<div class="m-pages mt-10">
    <div class="m-overview fl">共 <?php echo htmlentities($count); ?> 条，<?php echo htmlentities($page); ?>/<?php echo ceil($count/$limit); ?></div>
    <div class="fl" id="page"></div>
</div>
<?php endif; ?>
        </div>
    </div>
</div>

<?php endif; ?>
<input type="hidden" name="action_uri" value="<?php echo url('action'); ?>" />

<input type="hidden" name="redirect_uri" value="<?php echo url('index'); ?>" />

<input type="hidden" name="region_uri" value="/manage/regions/regions" />
<script src="/static/public/js/jquery-1.10.2.js"></script>
<script src="/static/public/js/maniac.ui.js"></script>
<script src="/static/public/layui/layui.js" charset="utf-8"></script>
<script src="/static/public/js/aes.js"></script>
<script src="/static/public/js/mode-ecb-min.js"></script>
<script src="/static/public/js/utils.js"></script>
<script src="/static/public/js/dialog.js"></script>
<script src="/static/manage/js/form.js"></script>
<script src="/static/manage/js/js.js"></script>
<script src="/static/public/js/app.js"></script>
<script src="/static/public/js/encrypt.js"></script>
<script src="/static/public/dist/zoomify.min.js"></script>
<script type="text/javascript">
    $('.fdzoom').zoomify();
</script>

<script>
var aesKey = '<?php echo htmlentities($encrypt_key); ?>';
    $(function(){
        layui.use('layer', function(){
            var user_exists = parseInt('<?php echo !empty($user_exists) ? 1  :  0; ?>');
            var user_forbidden = parseInt('<?php echo !empty($user_forbidden) ? 1  :  0; ?>');
            var quit_force = parseInt('<?php echo !empty($quit_force) ? 1  :  0; ?>');
            var is_auth    = parseInt('<?php echo !empty($is_auth) ? 1  :  0; ?>');
            
            if (user_exists) {
                dialog.error('您所登录的用户已被删除', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }
            
            if (user_forbidden) {
                dialog.error('您的账户已被禁用', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }

            if (quit_force) {
                dialog.error('同一账户同一时间只能一人在线', function(){
                	top.location.href = '/manage';
                    return false;
                });
            }
            
            if (!is_auth) {
                dialog.error('您没有权限执行此操作', function(){
                    window.location.href = history.go(-1);
                    return false;
                });
            }
        });
    })
</script>

</body>
</html>